package cn.liit.weixin.custommsg.model;

/**
 * 客服消息(语音消息)
 * @author zhangboqi
 */
public class VoiceMsg extends BaseMsg{

	private Voice voice;

	public VoiceMsg(String touser, String media_id) {
		super(touser, MSGTYPE_VIDEO);
		this.voice = new Voice(media_id);
	}

	public Voice getVoice() {
		return voice;
	}

	public void setVoice(Voice voice) {
		this.voice = voice;
	}
	

	public static class Voice {

		private String media_id;//发送的图片/语音/视频的媒体ID

		public Voice(String media_id) {
			super();
			this.media_id = media_id;
		}

		public String getMedia_id() {
			return media_id;
		}

		public void setMedia_id(String media_id) {
			this.media_id = media_id;
		}
	}
}
